<?php $this->load->view('pages/head'); ?>
<body>
<?php $this->load->view('pages/header'); ?>

    <form class="form-horizontal span6" action="<?= base_url('/departments/add')?>" method="post">
        <fieldset>
            <legend>新建部门</legend>
            <div class="control-group">
                <label class="control-label">部门名称：</label>
                <div class="controls">
                    <div class="row-fluid">
                        <div class="span3">
                            <input type="text" class="input-block-level" autocomplete="false" id="name" name="name" type="text" required />
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
<?php $this->load->view('pages/foot'); ?>
</body>